package com.cssy.authority.dao;

import java.sql.SQLException;

import com.ibatis.sqlmap.client.SqlMapClient;

public class UserExDAO {
	private SqlMapClient sqlMapClient;

    public UserExDAO(SqlMapClient sqlMapClient) {
        super();
        this.sqlMapClient = sqlMapClient;
    }

    
    public String searchPostNamesById(Long id) throws SQLException {
        String post = (String) sqlMapClient.queryForObject("tb_user_ex.searchPostNamesById", id);
        return post;
    }
}
